package com.broada.apm.es.bean;

import com.broada.apm.es.bean.NodeInfo;

/**
 * es Cluster 统计集群相关信息
 */
public class ClusterInfo {
	private String clusterName;
	private NodeInfo[] nodes;

	public ClusterInfo() {
	}

	public ClusterInfo(String name) {
		this.clusterName = name;
	}

	public String getClusterName() {
		return clusterName;
	}

	public void setClusterName(String clusterName) {
		this.clusterName = clusterName;
	}

	public NodeInfo[] getNodes() {
		return nodes;
	}

	public void setNodes(NodeInfo[] nodes) {
		this.nodes = nodes;
	}

}